package com.pb.infra.oth.entity.excel;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

/**
 * 导入的列对象
 *
 * @author liudebao
 * @date 2020/1/14
 */
@Data
@AllArgsConstructor
@RequiredArgsConstructor
public class ImportColumn {
    /**
     * 列名
     */
    @NonNull
    private String name;

    /**
     * 类型
     */
    private String type;

    /**
     * 是否可为空
     */
    private Boolean nullable = true;
}
